package com.springcloud.auth.utils;

import java.util.Map;


public class TokenEntity {
    private Boolean isValid;
    private Map<String,String> payload;

    public TokenEntity(Boolean isValid, Map<String, String> payload) {
        this.isValid = isValid;
        this.payload = payload;
    }

    public Boolean getValid() {
        return isValid;
    }

    public void setValid(Boolean valid) {
        isValid = valid;
    }

    public Map<String, String> getPayload() {
        return payload;
    }

    public void setPayload(Map<String, String> payload) {
        this.payload = payload;
    }
}
